import os

import pytest

# if __name__ == '__main__':
    # pytest.main(['-s',r'C:\Users\30347\PycharmProjects\pythonProject6\Auto\case\case.py','--clear-alluredir','--alluredir=./report','--html=./report.html'])
    # os.system('allure generate -o html ./report ./html --clear')
if __name__ == '__main__':
    pytest.main(
        ['-s', r'C:\Users\30347\PycharmProjects\pythonProject6\Auto\case\case.py', '--clean-alluredir', '--alluredir=./report',
         '--html=./reporta.html'])
    os.system('allure generate -o .html ./report ./html --clean')